package cn.ruanyun.backInterface.modules.auctionCalendar.site.pojo;

import cn.ruanyun.backInterface.base.RuanyunBaseEntity;
import cn.ruanyun.backInterface.common.enums.BooleanTypeEnum;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 场地
 * @author fei
 */
@Data
@Entity
@Table(name = "t_site")
@TableName("t_site")
@Accessors(chain = true)
public class Site extends RuanyunBaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty("区域id")
    private String areaId;

    @ApiModelProperty("场地名称")
    private String siteName;

    @ApiModelProperty("场地规格参数")
    private String siteItemValue;

    @ApiModelProperty("分类id")
    private String categoryId;

    @ApiModelProperty(value = "场地介绍图片")
    private String sitePics;

    @ApiModelProperty(value = "场地价格")
    private BigDecimal sitePrice;

    @ApiModelProperty(value = "是否是推荐")
    private BooleanTypeEnum recommend = BooleanTypeEnum.NO;

    @ApiModelProperty(value = "是否上下架")
    private BooleanTypeEnum putAway = BooleanTypeEnum.YES;
}